Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 1 - Appearance Manager Reference / Appearance Manager Types and Constants


Appearance-Compliant Menu Draw State Constants

NEW WITH THE APPEARANCE MANAGER

You can pass one of the following constants in the inState parameter of DrawThemeMenuItem and DrawThemeMenuTitle to specify the state in which Appearance-compliant menus are drawn.

enum{
   kThemeMenuActive     = 0,
   kThemeMenuSelected   = 1,
   kThemeMenuDisabled   = 2
};
typedef SInt16 ThemeMenuState;

Constant descriptions

kThemeMenuActive
Menu is drawn in its active state.
kThemeMenuSelected
Menu is drawn in its selected state.
kThemeMenuDisabled
Menu is drawn in its disabled state.
SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before using the ThemeMenuState type or the Appearance-compliant menu draw state constants. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998